<?php

namespace app\controller\admin\sky;

use app\model\admin\sky\SkyMagicData;
use laytp\controller\Backend;
use laytp\library\CommonFun;
use think\facade\Db;
use think\response\Json;

/**
 * Class Candle
 * @package app\controller\admin\sky
 */
class MagicData extends Backend
{
    /**
     *
     * @var Candle
     */
    protected $model;
    protected $hasSoftDel=0;//是否拥有软删除功能

    protected $noNeedLogin = []; // 无需登录即可请求的方法
    protected $noNeedAuth = ['index', 'info']; // 无需鉴权即可请求的方法

    public $orderRule = ['id' => 'desc'];

    public function _initialize()
    {
        $this->model = new SkyMagicData();
    }
}